package com.ibeetl.admin.console.entity;

public class HomeUserSummary {


    private Long id;
    private String dateTime;
    private String oemId;
    private String code;
    private Long userNum;
    private Long merchantNum;
    private String tradeNum;
    private String tradeMoney;
    private String tradeMoneyVo;
    private String deviceActivationNum;

    public String getDeviceActivationNum() {
        return deviceActivationNum;
    }

    public void setDeviceActivationNum(String deviceActivationNum) {
        this.deviceActivationNum = deviceActivationNum;
    }

    public String getTradeMoneyVo() {
        if(tradeMoney != null && !"".equals(tradeMoney)){
            this.setTradeMoneyVo(String.format("%#.2f", Double.parseDouble(tradeMoney)/100));
            return tradeMoneyVo;
        }
        return tradeMoneyVo;
    }
    public void setTradeMoneyVo(String tradeMoneyVo) {
        this.tradeMoneyVo = tradeMoneyVo;
    }

    public Long getUserNum() {
        return userNum;
    }

    public void setUserNum(Long userNum) {
        this.userNum = userNum;
    }

    public Long getMerchantNum() {
        return merchantNum;
    }

    public void setMerchantNum(Long merchantNum) {
        this.merchantNum = merchantNum;
    }

    public String getTradeNum() {
        return tradeNum;
    }

    public void setTradeNum(String tradeNum) {
        this.tradeNum = tradeNum;
    }

    public String getTradeMoney() {
        return tradeMoney;
    }
    public void setTradeMoney(String tradeMoney) {
        this.tradeMoney = tradeMoney;
    }


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDateTime() {
        return dateTime;
    }

    public void setDateTime(String dateTime) {
        this.dateTime = dateTime;
    }

    public String getOemId() {
        return oemId;
    }

    public void setOemId(String oemId) {
        this.oemId = oemId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
